import React from 'react';
import ReactDOM from 'react-dom/client';
// 在 main.js 中导入
import 'normalize.css/normalize.css';
import './index.scss';

import zhCN from 'antd/es/locale/zh_CN'; // 引入中文语言包
import { ConfigProvider } from 'antd';

import {RouterProvider} from "react-router-dom"
import router from "./router"

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <ConfigProvider locale={zhCN}>
    <RouterProvider router={router}></RouterProvider>
    </ConfigProvider>
  </React.StrictMode>
);

